package com.cykj.v_m_sprintboot.mapper;

import com.cykj.v_m_sprintboot.bean.TbInventory;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbInventoryMapper {
    boolean addInventoryInfo();
    List<TbInventory> getInventoryList(TbInventory tbInventory, RowBounds row);
    int countInventoryInfo(TbInventory tbInventory);
    TbInventory inventoryInfo(@Param(value = "goodsName") String goodsName);
    boolean updateInventoryInfo(TbInventory tbInventory);
    boolean addLoneData(TbInventory tbInventory);
    List<String> getInventoryGoodsName();
}
